﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameCore
{
    public class Position
    {
        private char[] cidx = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h' };
        public int RowIndex;
        public int ColIndex;
        public char ColIndexChar {
            get
            {
                return cidx[ColIndex - 1];
            }
        }

        public Position(int row, int col)
        {
            RowIndex = row;
            ColIndex = col;
        }
    }
}
